package com.software.seakdream.repository;

import com.software.seakdream.entity.AudioInfo;
import com.software.seakdream.entity.Favorite;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface AudioInfoRepository {
    List<AudioInfo> findAudioInfo(String type,String category);

    List<AudioInfo> queryFavorite(String userId);

    List<Favorite> queryFavoriteW(String userId);

    AudioInfo findAudioInfoById(String audioId);

    List<AudioInfo> findAllAudioInfo(String type);
}
